using System;
using System.ComponentModel;
using Specialwork.AddIns.VisualStudio.NativeObjectBrowser.com.microsoft.msdn.services;
using System.Xml;
using System.Web.Services.Protocols;
using System.Diagnostics;

namespace Specialwork.AddIns.VisualStudio.NativeObjectBrowser
{
    [Serializable]
    public class MethodInformation
    {
        public MethodInformation()
        {
            this.Index = -1;
        }

        [CategoryAttribute("Method Information")]
        [Description("Returns the name of a method")]
        public string Name { get; set; }

        [CategoryAttribute("Others")]
        [Description("Returns the internal index")]
        public int Index { get; set; }

        [CategoryAttribute("Method Information")]
        [Description("Returns the description of a method")]
        public string Description { get; set; }

        public void Refresh()
        {
            this.Description = "Content not available";
        }
    }
}